package com.xnyzc.lhy.task.fallback.punishment;

import com.xnyzc.lhy.task.fegin.punishment.QuartzPunishmentStatisticsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 服务的降级， 如出现远程调用失败，则会触发该回调
 */
@Slf4j
@Service
public class QuartzPunishmentStatisticsFallback implements QuartzPunishmentStatisticsService {

    @Override
    public void unsealDriverPenaltyTask() {
        log.error("处理司机处罚解封信息超时");
    }

    @Override
    public void unsealDriverThawTask() {
        log.error("处理司机处罚解冻信息超时");
    }
}
